package com.lee.mysql.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

@ApiModel(description="操作菜单")
public class Menu implements Serializable {
   private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(name="主键",value="主键")
    private String id;
    
    /** 菜单名称 */
    @ApiModelProperty(name="菜单名称",value="菜单名称")
    private String name;

    /** 菜单类型 0菜单 1按键 2功能 */
    @ApiModelProperty(name="菜单类型 0菜单 1按键 2功能",value="菜单类型 0菜单 1按键 2功能")
    private String menuType;
    
    /** 父级菜单ID */
    @ApiModelProperty(name="父级菜单ID",value="父级菜单ID")
    private String parentId;

    /** 父级菜单名称 */
    @ApiModelProperty(name="父级菜单名称",value="父级菜单名称")
    private String parentName;
    
    /** 菜单备注 */
    @ApiModelProperty(name="菜单备注",value="菜单备注")
    private String remark;
    
    /** 权限标识符 */
    @ApiModelProperty(name="权限标识符",value="权限标识符")
    private String pmMark;
    
    /** 图标 */
    @ApiModelProperty(name="图标",value="图标")
    private String icon;
    
    /** 菜单是否可见 0不可见 1可见 */
    @ApiModelProperty(name="菜单是否可见 0不可见 1可见",value="菜单是否可见 0不可见 1可见")
    private String visible;
    
    /** 是否在新窗口打开 0 默认否， 1 是在新窗口打开 */
    @ApiModelProperty(name="是否在新窗口打开 0 默认否， 1 是在新窗口打开",value="是否在新窗口打开 0 默认否， 1 是在新窗口打开")
    private int blank;
    
    /** 菜单链接 */
    @ApiModelProperty(name="菜单链接",value="菜单链接")
    private String url;
    
    /** 排序号升序排列，小的在前面 */
    @ApiModelProperty(name="排序号升序排列，小的在前面",value="排序号升序排列，小的在前面")
    private int orderNum;
    
    /** 创建时间 */
    @ApiModelProperty(name="创建时间",value="创建时间")
    private Date createTime;

    /** 菜单层级 */
    @ApiModelProperty(name="菜单层级",value="菜单层级")
    private Integer level;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPmMark() {
        return pmMark;
    }

    public void setPmMark(String pmMark) {
        this.pmMark = pmMark;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getVisible() {
        return visible;
    }

    public void setVisible(String visible) {
        this.visible = visible;
    }

    public int getBlank() {
        return blank;
    }

    public void setBlank(int blank) {
        this.blank = blank;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", menuType='" + menuType + '\'' +
                ", parentId='" + parentId + '\'' +
                ", parentName='" + parentName + '\'' +
                ", remark='" + remark + '\'' +
                ", pmMark='" + pmMark + '\'' +
                ", icon='" + icon + '\'' +
                ", visible='" + visible + '\'' +
                ", blank=" + blank +
                ", url='" + url + '\'' +
                ", orderNum=" + orderNum +
                ", createTime=" + createTime +
                ", level=" + level +
                '}';
    }
}